<?php

/**
 * Generated Model class.
 */
class NewsCriteria extends Criteria
{

    private $id = null;

    private $name = null;

    private $description = null;

    private $profile_id = null;

    private $photo_id = null;

    private $date = null;

    private $text = null;

    private $comment_count = null;

    private $view_count = null;

    /**
     * Set new value for news.id column in current Row.
     * 
     * @param int $IdFromNewsCriteria
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return news.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for news.name column in current Row.
     * 
     * @param varchar $NameFromNewsCriteria
     * @return void
     */
    public function setName($Name)
    {
        $this->__set("name", $Name);
    }

    /**
     * Return news.name column value in current Row.
     * 
     * @return varchar
     */
    public function getName()
    {
        return $this->__get("name");
    }

    /**
     * Set new value for news.description column in current Row.
     * 
     * @param varchar $DescriptionFromNewsCriteria
     * @return void
     */
    public function setDescription($Description)
    {
        $this->__set("description", $Description);
    }

    /**
     * Return news.description column value in current Row.
     * 
     * @return varchar
     */
    public function getDescription()
    {
        return $this->__get("description");
    }

    /**
     * Set new value for news.profile_id column in current Row.
     * 
     * @param int $ProfileIdFromNewsCriteria
     * @return void
     */
    public function setProfileId($ProfileId)
    {
        $this->__set("profile_id", $ProfileId);
    }

    /**
     * Return news.profile_id column value in current Row.
     * 
     * @return int
     */
    public function getProfileId()
    {
        return $this->__get("profile_id");
    }

    /**
     * Set new value for news.photo_id column in current Row.
     * 
     * @param int $PhotoIdFromNewsCriteria
     * @return void
     */
    public function setPhotoId($PhotoId)
    {
        $this->__set("photo_id", $PhotoId);
    }

    /**
     * Return news.photo_id column value in current Row.
     * 
     * @return int
     */
    public function getPhotoId()
    {
        return $this->__get("photo_id");
    }

    /**
     * Set new value for news.date column in current Row.
     * 
     * @param datetime $DateFromNewsCriteria
     * @return void
     */
    public function setDate($Date)
    {
        $this->__set("date", $Date);
    }

    /**
     * Return news.date column value in current Row.
     * 
     * @return datetime
     */
    public function getDate()
    {
        return $this->__get("date");
    }

    /**
     * Set new value for news.text column in current Row.
     * 
     * @param text $TextFromNewsCriteria
     * @return void
     */
    public function setText($Text)
    {
        $this->__set("text", $Text);
    }

    /**
     * Return news.text column value in current Row.
     * 
     * @return text
     */
    public function getText()
    {
        return $this->__get("text");
    }

    /**
     * Set new value for news.comment_count column in current Row.
     * 
     * @param int $CommentCountFromNewsCriteria
     * @return void
     */
    public function setCommentCount($CommentCount)
    {
        $this->__set("comment_count", $CommentCount);
    }

    /**
     * Return news.comment_count column value in current Row.
     * 
     * @return int
     */
    public function getCommentCount()
    {
        return $this->__get("comment_count");
    }

    /**
     * Set new value for news.view_count column in current Row.
     * 
     * @param int $ViewCountFromNewsCriteria
     * @return void
     */
    public function setViewCount($ViewCount)
    {
        $this->__set("view_count", $ViewCount);
    }

    /**
     * Return news.view_count column value in current Row.
     * 
     * @return int
     */
    public function getViewCount()
    {
        return $this->__get("view_count");
    }


}

